package com.xuxiao.service;

import com.xuxiao.common.ReturnNameAndCardID;
import com.xuxiao.common.TransCord;
import com.xuxiao.entrty.TransInfo;

import java.util.List;

public interface TransInfoService {

    void addTransInfo(ReturnNameAndCardID ReturnNameAndCardID);

    void deleteByID(String id);

    List<TransCord> SelectAll();

    List<TransCord> SelectByID(String id);

    List<TransCord> SelectByname(String name);

    List<TransCord> SelectIncome(String name);
}
